<!doctype html>
<html lang="fr">
<head>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<!--<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../botlab/UserLib.html#applyForces()">applyForces</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../botlab/UserLib.html#cleanupForces()">cleanupForces</a></strong>()</code>&nbsp;</td>
</tr>-->
<tr class="altColor">
<td class="colFirst"><code>static float</code></td>
<td class="colLast"><code><strong><a href="#getAngularVelocity()">getAngularVelocity</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static float</code></td>
<td class="colLast"><code><strong><a href="#getHorizontalVelocity()">getHorizontalVelocity</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static float</code></td>
<td class="colLast"><code><strong><a href="#getHorizontalVelocityA()">getHorizontalVelocityA</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static float</code></td>
<td class="colLast"><code><strong><a href="#getSensorDst(int, int)">getSensorDst</a></strong>(int&nbsp;angleV,
            int&nbsp;angleH)</code>
<div class="block">Retrieve distance from spaceship to the first object detected in the direction
 specified by angleV and angleH.</div>
</td>
</tr>
<!--<tr class="altColor">
<td class="colFirst"><code>static com.jme3.scene.Spatial</code></td>
<td class="colLast"><code><strong><a href="../botlab/UserLib.html#getSpatial()">getSpatial</a></strong>()</code>&nbsp;</td>
</tr>-->
<tr class="rowColor">
<td class="colFirst"><code>static float</code></td>
<td class="colLast"><code><strong><a href="#getVerticalVelocity()">getVerticalVelocity</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="#goDown(int)">goDown</a></strong>(int&nbsp;force)</code>
<div class="block">Apply a forse impulse that make the spaceship go down</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="#goForward(int)">goForward</a></strong>(int&nbsp;force)</code>
<div class="block">Apply a forse impulse that make the spaceship go forward</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="#goUp(int)">goUp</a></strong>(int&nbsp;force)</code>
<div class="block">Apply a forse impulse that make the spaceship go up</div>
</td>
</tr>
<!--<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../botlab/UserLib.html#init(botlab.Game)">init</a></strong>(<a href="../botlab/Game.html" title="class in botlab">Game</a>&nbsp;app)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../botlab/UserLib.html#initUpdate(float)">initUpdate</a></strong>(float&nbsp;_tpf)</code>&nbsp;</td>
</tr>-->
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="#print(float)">print</a></strong>(float&nbsp;value)</code>
<div class="block">Print float value to screen</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="#print(java.lang.String)">print</a></strong>(java.lang.String&nbsp;text)</code>
<div class="block">Print text to screen via Head Up Display</div>
</td>
</tr>
<!--<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../botlab/UserLib.html#setSpatial(com.jme3.scene.Spatial)">setSpatial</a></strong>(com.jme3.scene.Spatial&nbsp;s)</code>&nbsp;</td>
</tr>-->
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="#turnLeft(int)">turnLeft</a></strong>(int&nbsp;force)</code>
<div class="block">Apply a torque impulse that make the spaceship turn left</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="#turnRight(int)">turnRight</a></strong>(int&nbsp;force)</code>
<div class="block">Apply a torque impulse that make the spaceship turn right</div>
</td>
</tr>
</table>
</li>



<!-- ============ METHOD DETAIL ========== -->
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<ul class="blockList">
<li class="blockList">
<h4>initUpdate</h4>
<pre>public static&nbsp;void&nbsp;initUpdate(float&nbsp;_tpf)</pre>
</li>
</ul>
<a name="print(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>print</h4>
<pre>public static&nbsp;void&nbsp;print(java.lang.String&nbsp;text)</pre>
<div class="block">Print text to screen via Head Up Display</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - the String to display</dd></dl>
</li>
</ul>
<a name="print(float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>print</h4>
<pre>public static&nbsp;void&nbsp;print(float&nbsp;value)</pre>
<div class="block">Print float value to screen</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - the float value</dd></dl>
</li>
</ul>
<a name="getSensorDst(int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSensorDst</h4>
<pre>public static&nbsp;float&nbsp;getSensorDst(int&nbsp;angleV,
                 int&nbsp;angleH)</pre>
<div class="block">Retrieve distance from spaceship to the first object detected in the direction
 specified by angleV and angleH.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>angleV</code> - the vertical angle in degree (rotation from x axis)</dd><dd><code>angleH</code> - the horizontal angle in degree (roation from y axis)</dd>
<dt><span class="strong">Returns:</span></dt><dd></dd></dl>
</li>
</ul>
<a name="turnLeft(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>turnLeft</h4>
<pre>public static&nbsp;void&nbsp;turnLeft(int&nbsp;force)</pre>
<div class="block">Apply a torque impulse that make the spaceship turn left</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>force</code> - the power of the torque impulse</dd></dl>
</li>
</ul>
<a name="turnRight(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>turnRight</h4>
<pre>public static&nbsp;void&nbsp;turnRight(int&nbsp;force)</pre>
<div class="block">Apply a torque impulse that make the spaceship turn right</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>force</code> - the torque impulse</dd></dl>
</li>
</ul>
<a name="goForward(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>goForward</h4>
<pre>public static&nbsp;void&nbsp;goForward(int&nbsp;force)</pre>
<div class="block">Apply a forse impulse that make the spaceship go forward</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>force</code> - the force</dd></dl>
</li>
</ul>
<a name="goUp(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>goUp</h4>
<pre>public static&nbsp;void&nbsp;goUp(int&nbsp;force)</pre>
<div class="block">Apply a forse impulse that make the spaceship go up</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>force</code> - the force</dd></dl>
</li>
</ul>
<a name="goDown(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>goDown</h4>
<pre>public static&nbsp;void&nbsp;goDown(int&nbsp;force)</pre>
<div class="block">Apply a forse impulse that make the spaceship go down</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>force</code> - the force</dd></dl>
</li>
</ul>
<a name="getHorizontalVelocity()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHorizontalVelocity</h4>
<pre>public static&nbsp;float&nbsp;getHorizontalVelocity()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the horizontal velocity of the spaceship</dd></dl>
</li>
</ul>
<a name="getHorizontalVelocityA()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHorizontalVelocityA</h4>
<pre>public static&nbsp;float&nbsp;getHorizontalVelocityA()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the horizontal velocity of the spaceship projected in the front direction</dd></dl>
</li>
</ul>
<a name="getVerticalVelocity()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVerticalVelocity</h4>
<pre>public static&nbsp;float&nbsp;getVerticalVelocity()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the vertical velocity of the spaceship</dd></dl>
</li>
</ul>
<a name="getAngularVelocity()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getAngularVelocity</h4>
<pre>public static&nbsp;float&nbsp;getAngularVelocity()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the angular velocity of the spaceship</dd></dl>
</li>
</ul>
</li>
</ul>


</body>